package com.xinruke.hostels.dailymanage.interfaces.dto.inhotel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.dailymanage.interfaces.vo.PersonalInHotelRoomVO;
import com.xinruke.hostels.dailymanage.interfaces.vo.RoomInfoVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName InHotelQueryResultDTO
 * @CreateDate 2019/7/2
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 入住查询结果响应
 */
@ApiModel("入住查询结果响应")
@Data
public class InHotelQueryResultDTO {
    @ApiModelProperty(value = "编号")
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String dingdanhao;

    @ApiModelProperty(value = "预订人姓名")
    private String yudingrenxingming;

    @ApiModelProperty(value = "预订人电话")
    private String yudingrendianhua;

    @ApiModelProperty("酒店名称")
    private String jiudianMingcheng;

    @ApiModelProperty(value = "证件类型")
    private Byte zhengjianleixing;

    @ApiModelProperty(value = "证件号")
    private String zhengjianhao;

    @ApiModelProperty(value = "入住总人数")
    private Integer ruzhuzongrenshu;

    @ApiModelProperty(value = "预订房间数")
    private Integer yudingfangjianshu;

    @ApiModelProperty(value = "预住时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijian;

    @ApiModelProperty(value = "预离时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijian;

    @ApiModelProperty(value = "入住类型")
    private Byte ruzhuleixing;

    @ApiModelProperty(value = "客源类型")
    private Byte keyuanleixing;

    @ApiModelProperty(value = "预订类型")
    private Byte yudingleixing;

    @ApiModelProperty(value = "来源")
    private Byte laiyuan;

    @ApiModelProperty(value = "付款方式")
    private Byte fukuanfangshi;

    @ApiModelProperty(value = "押金")
    private BigDecimal yajin;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal yingshoujine;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal youhuijine;

    @ApiModelProperty(value = "实收金额")
    private BigDecimal shishoujine;

    @ApiModelProperty(value = "订单总价")
    private BigDecimal dingdanzongjia;

    @ApiModelProperty(value = "状态:0未入住；1已入住；2已离店")
    private Byte zhuangtai;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty(value = "预订订单号")
    private String yudingdingdanhao;

    @ApiModelProperty(value = "预订订单id")
    private Integer yudingdingdanId;

    @ApiModelProperty(value = "结账状态:0未结1已结")
    private Byte jiezhangzhuangtai;

    @ApiModelProperty(value = "房间集合")
    private List<RoomInfoVO> roomVOList;

    @ApiModelProperty(value = "房间信息")
    private String fangjianInfo;
}
